package cn.edu.zafu.bigdata.XuShuXin.Exp1119;
import java.io.Serializable;
/**
 * @author: aluvfy
 * @description:
 * @date: 2024/11/19 11:10
 */
public class Student implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String name;
    private String phone;

    public Student(String id, String name, String phone) {
        this.id = id;
        this.name = name;
        this.phone = phone;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "学号：" + id + ", 姓名：" + name + ", 电话：" + phone;
    }
}